package com.mairuide.common.phone;


import com.mairuide._frame.base.BaseModel;
import com.mairuide._frame.utils.excel.annotation.ExcelAttribute;
import com.mairuide._frame.utils.excel.annotation.ExcelAttributeHandle;

import javax.persistence.Column;
import java.sql.Timestamp;

public class PhoneRecordDeatil extends BaseModel implements Cloneable {
    @ExcelAttribute(name = "主叫号码",sort = 0)
    @Column(name="SERVICE_NUMBER")
    private String serviceNumber;//服务号码

    @ExcelAttribute(name = "呼叫类型",sort = 1,format = ExcelAttributeHandle.CALL_TYPE)
    @Column(name="CALL_TYPE")
    private Integer callType;//呼叫类型0:主叫  1：被叫  2：短信发送 3：短信接收  '

    @Column(name="PARTY_NUMBER")
    @ExcelAttribute(name = "对方号码",sort = 2)
    private String partyNumber;//对方号码

    @Column(name="STARTING_TIME")
    @ExcelAttribute(name = "通话日期",sort = 3)
    private Timestamp startingTime;//起始时间

    @ExcelAttribute(name = "通话时长",sort =4)
    @Column(name="TALK_TIME")
    private String talkTime;//通话时长：秒

    @ExcelAttribute(name = "CID",sort = 5)
    @Column(name="CID")
    private String cid;//CID

    @ExcelAttribute(name = "LAC",sort = 6)
    @Column(name="LAC")
    private String lac;//LAC

    @ExcelAttribute(name = "地址",sort = 7)
    @Column(name="ADDRESS")
    private String address;//地址

    public String getServiceNumber() {
        return serviceNumber;
    }

    public void setServiceNumber(String serviceNumber) {
        this.serviceNumber = serviceNumber;
    }

    public Integer getCallType() {
        return callType;
    }

    public void setCallType(Integer callType) {
        this.callType = callType;
    }

    public String getPartyNumber() {
        return partyNumber;
    }

    public void setPartyNumber(String partyNumber) {
        this.partyNumber = partyNumber;
    }

    public Timestamp getStartingTime() {
        return startingTime;
    }

    public void setStartingTime(Timestamp startingTime) {
        this.startingTime = startingTime;
    }

    public String getTalkTime() {
        return talkTime;
    }

    public void setTalkTime(String talkTime) {
        this.talkTime = talkTime;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getLac() {
        return lac;
    }

    public void setLac(String lac) {
        this.lac = lac;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
